<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../css/mui.min.css">
		<link rel="stylesheet" href="../css/main.css" />
		<title>新生儿居家护理及指导</title>
		<style>
			.mui-ellipsis-2 {
				display: -webkit-box;
				overflow: hidden;
				white-space: normal!important;
				text-overflow: ellipsis;
				word-wrap: break-word;
				-webkit-line-clamp: 2;
				-webkit-box-orient: vertical;
				width: 80%;
				height: 80px;
				padding-top: 20px;
			}

			.dibu {
				position: absolute;
				bottom: 100px;
				width: 95%;
			}
			.mui-btn {
				color:#000000;
			}
			.mui-table-view-cell .mui-table {
				text-align: center;
			}
			.mui-table-view-cell .mui_table_one {
				width: 100%;
				hanging-punctuation: 150px;
			}
			.mui-card {
				margin: 10px 0 0 0 ;
			}
			.mui-card .mui-card-content-inner {
				width: 100% !important;
				min-height: 500px !important;
				margin: 10px 0 0 0 ;
			}
		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">新生儿居家护理及指导</h1>
		</header>
		<div class="mui-content">
			<ul class="mui-table-view mui-table-view-striped mui-table-view-condensed tableUL" id='addressmessage'>
				<li class="mui-table-view-cell">
					<a href="#" class="">
						<div class="mui-table">
							<p>2017/07/19  柒拾佳护</p>
						</div>
					</a>
				</li>
				<li class="mui-table-view-cell">
					<a href="#" class="">
						<div class="mui_table_one">
							<img src="../images/baby.png" alt="" />

						</div>
					</a>
				</li>
			</ul>


			<div class="mui-card">
				<div class="mui-card-content-inner">

					<p>负责老人、儿童及功能障碍康复治疗的相关课程开发及培训工作；提供康复理疗咨询服务。需进行淋浴、皮肤护理、抚触按摩、
						脐带护理的新生儿需喂养指导的父母家长负责老人、儿童及功能障碍康复治疗的相关课程开发及培训工作；提供康复理疗咨询服务。
						需进行淋浴、皮肤护理、抚触按摩、脐带护理的新生儿需喂养指导的父母家长</p>

				</div>
			</div>

			<div class="mui-content-padded dibu">
				<button id='service_add' class="mui-btn mui-btn-block mui-btn-warning">在线考核</button>
			</div>
		</div>




	</body>
	<script src="../js/mui.min.js"></script>
		<script type="text/javascript" src="../js/constants.js"></script>
		<script type="text/javascript" src="../js/sharemethods.js"></script>
		<script type="text/javascript" src="../js/xiangyingshi.js"></script>
		<script>
			mui.plusReady(function() {
				// 加载完毕后关闭等待框，并展示页面
				var currentView = plus.webview.currentWebview();
				currentView.show('slide-in-right', 200);
				plus.nativeUI.closeWaiting();
			});
		</script>
	<script>
		mui.plusReady(function() {
			// 加载完毕后关闭等待框，并展示页面
			var currentView = plus.webview.currentWebview();
			currentView.show('slide-in-right', 200);
			plus.nativeUI.closeWaiting();
		});
		//编辑地址按钮
		document.getElementById("service_Edit").addEventListener("tap", function(e) {
			var address_name=document.getElementById("address_name").innerHTML;
			mui.openWindow({
				url: '../address/a042_address_edit.html',
				id: 'a042_address_edit',
				show: {
					autoShow: false, //页面loaded事件发生后自动显示，默认为true
					event: 'loaded' //页面显示时机，默认为titleUpdate事件时显示
				},
				waiting: {
					autoShow: true //自动显示等待框，默认为true
				}
			});
			var address_edit = plus.webview.getWebviewById('a042_address_edit');
			mui.fire(address_edit, 'getDetail', address_name);
		});

		//新增地址按钮
		document.getElementById("service_add").addEventListener("tap", function(e) {
			mui.openWindow({
				url: '../address/a042_address_add.html',
				id: 'a042_address_add',
				show: {
					autoShow: false, //页面loaded事件发生后自动显示，默认为true
					event: 'loaded' //页面显示时机，默认为titleUpdate事件时显示
				},
				waiting: {
					autoShow: true //自动显示等待框，默认为true
				}
			});
		})
		//返回订单页面，将地址信息传递给下单页面
		document.getElementById("addressmessage").addEventListener("tap",function(e){
			var name=document.getElementById("name").innerHTML;
			var male=document.getElementById("male").innerHTML;
			var age=document.getElementById("age").innerHTML;
			var phone=document.getElementById("phone").innerHTML;
			var service_object={name:name,male:male,age:age,phone:phone};
			mui.back();
			mui.openWindow({
				url: '../order/a04_place_order.html',
				id: 'a04_place_order',
				show: {
					autoShow: false, //页面loaded事件发生后自动显示，默认为true
					event: 'loaded' //页面显示时机，默认为titleUpdate事件时显示
				},
				waiting: {
					autoShow: true //自动显示等待框，默认为true
				}
			});
			var main3 = plus.webview.getWebviewById('a04_place_order');
			mui.fire(main3, 'service_object',service_object);
		})

	</script>

</html>